Create Ticket Comment
AutomatR.Zendesk.Activities.CreateTicketComment
The "Create Ticket Comment" activity in AutomatR is part of the Zendesk activities package, facilitating the addition of comments to existing tickets in Zendesk. This activity enhances automation workflows by allowing users to provide additional information or updates to specific tickets.
Properties
Name | Description |
---|---|
Input | |
Text | The comment string. Enter a string or a String variable. |
Ticket ID | The ID of the ticket. |
Misc | |
Display Name | Provides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name. |
Optional | |
Delay | Enter the wait time in seconds (Example: 5 seconds, i.e., 5) to start the activity. |
Author ID | The ID of the comment author. |
Public | Specifies whether the comment should be public (visible to end-users) or private (internal). |
Uploads | The name of the group. Enter a string or a String variable. |
Output | |
Result | The list of recent tickets. This field accepts only IndividualTicketResponse |
How to use:
- Drag and drop the "Create Ticket Comment" activity onto the workflow.
- Configure the properties by specifying the ticket ID, comment text, and other optional details.
- Optionally, configure the delay and customize the display name.
- Execute the workflow to add a comment to the specified ticket.
Example:
Consider an example where the "Create Ticket Comment" activity is used to add a comment to an existing ticket:
Create Ticket Comment:
Delay: 0
Ticket ID: 12345
Text: "This is a sample comment for ticket updates."
Author ID: 6789
Public: true
Uploads: ["file1.txt", "image.png"]
Result: ticketCommentResult
In this example, the activity adds a comment to the ticket with ID 12345. The comment text is set to "This is a sample comment for ticket updates," and the comment is marked as public. The list of uploads includes two files, "file1.txt" and "image.png." The result of the operation is stored in the ticketCommentResult
variable for further handling in the workflow.